const state = {
  course: {},
  classify: '',
  typeList: [],
  courseState: 'my'
}

const mutations = {
  SET_COURSE: (state, course) => {
    state.course = course
  },
  SET_CLASSIFY: (state, classify) => {
    state.classify = classify
  },
  SET_TYPELIST: (state, typeList) => {
    state.typeList = typeList
  },
  SET_COURSESTATE: (state, courseState) => {
    state.courseState = courseState
  }
}

const actions = {
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
